import Vue from 'vue'
import Router from 'vue-router'
import Me from '../pages/Me'
import Message from '../pages/Message'
import MessageSelect from '../pages/MessageSelect'
import dataV from '@jiaminghi/data-view'
Vue.use(dataV)
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/me',
      name: 'Me',
      component: Me,
    },
    {
      path: '/message',
      name: 'Message',
      component: Message,
    },
    {
      path: '/messageselect',
      name: 'MessageSelect',
      component: MessageSelect,
    },
  ]
})
